// [[ OnflowGenerator File UUID: ab3bfa20e6004989af03dbacf657b36d  ]]
package com.itdct.onflow.system.component.mapper;

import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.core.vo.KeyLabelValueVo;
import com.itdct.onflow.system.component.entity.SysComponentEntity;
import com.itdct.onflow.system.component.qo.SysComponentSearchQo;
import com.itdct.onflow.system.component.vo.SysComponentDetailVo;
import com.itdct.onflow.system.component.vo.SysComponentListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author DCTANT
 * @date 2025-09-15 16:13:06
 * @version 1.0
 * @description 系统组件查询工具
 */
@Mapper
public interface SysComponentMapper extends BaseMapper<SysComponentEntity> {
    @Nullable
    SysComponentDetailVo findById(Long id);

    @NotNull
    List<SysComponentListVo> findByList(SysComponentSearchQo qo);

// [[ OnflowGenerator Range (- selectFunctions -) Start ]]

    @NotNull
    List<KeyLabelValueVo> selectTitleList(SysComponentSearchQo qo);

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
